﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Phone_Client.Commands_Utils;

namespace Phone_Client.ViewModels
{
    public class CurrentPageMarkVM : IViewModelBase
    {
        #region Fields

        private String _pagetype, _category;
        private Visibility _myvisibility;

        #endregion

        #region Properties

        public String PageType
        {
            get { return _pagetype; }
            set
            {
                if (_pagetype == value) return;
                _pagetype = value;
                RaisePropertyChanged("PageType");
            }
        }

        public String Category
        {
            get { return _category; }
            set
            {
                if (_category == value) return;
                _category = value;
                RaisePropertyChanged("Category");
            }
        }

        public Visibility MyVisibility
        {
            get { return _myvisibility; }
            set
            {
                if (_myvisibility == value) return;
                _myvisibility = value;
                RaisePropertyChanged("MyVisibility");
            }
        }

        #endregion

        #region Commands

        #endregion

        #region Commands Functions

        #endregion

        #region Functions

        #endregion

        #region Ctor

        public CurrentPageMarkVM(String pagetype, String category, Visibility myvisibility)
        {
            if (!String.IsNullOrWhiteSpace(pagetype) && !String.IsNullOrWhiteSpace(category))
            {
                _pagetype = pagetype;   
                _category = category;
                _myvisibility = myvisibility;
            }
        }
        #endregion
    }
}
